<?php
/**
*A tabbed HTMl element.
*@package Html
*@author Willy Gardiol <willy@gardiol.org>
*@version 1.0
*@subpackage Smarty
*/
function smarty_function_boxData($params, &$smarty)
{
	$what = $params["what"];
	switch ( $what )
	{
	case "description":
		autoload_plugins( "Box_".$params["type"] );		
		$smarty->assign("box_description", Box::$description[ $params["type"] ] );
		break;
	}
}
?>